<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>新零售系统 </title>

    <!-- Bootstrap -->
    <link href="/resources/gentelella/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="/resources/gentelella/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!-- NProgress -->
    <link href="/resources/gentelella/vendors/nprogress/nprogress.css" rel="stylesheet">
    <!-- iCheck -->
    <link href="/resources/gentelella/vendors/iCheck/skins/flat/green.css" rel="stylesheet">

    <!-- bootstrap-progressbar -->
    <link href="/resources/gentelella/vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
    <!-- JQVMap -->
    <link href="/resources/gentelella/vendors/jqvmap/dist/jqvmap.min.css" rel="stylesheet"/>
    <!-- bootstrap-daterangepicker -->
    <link href="/resources/gentelella/vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">

    <!-- Custom Theme Style -->
    <link href="/resources/gentelella/css/custom.min.css" rel="stylesheet">

    <script src="/resources/js/self.js"></script>
    <script src="/resources/js/data.js"></script>
</head>

<body class="nav-md">
<div class="container body">
    <div class="main_container">
        <div class="col-md-3 left_col">
            <div class="left_col scroll-view">
                <div class="navbar nav_title" style="border: 0;">
                    <a href="index.html" class="site_title"><i class="fa fa-paw"></i> <span>新零售管理后台</span></a>
                </div>

                <div class="clearfix"></div>

                <!-- /menu profile quick info -->

                <br />

                <!-- sidebar menu -->
                <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
                    <div class="menu_section">
                        <h3></h3>
                        <ul class="nav side-menu">
                            <li><a><i class="fa fa-desktop"></i> 系统维护 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    <li><a class="nav-a" data-href="ali_sms_setting.html">短信配置</a></li>
                                    <li><a class="nav-a" data-href="sms_template_list.html">短信模板配置</a></li>
                                </ul>
                            </li>

                            <li><a><i class="fa fa-desktop"></i> 基本信息维护 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    <li><a class="nav-a" data-href="brand_list.html">品牌</a></li>
                                    <li><a class="nav-a" data-href="classification_list.html">商品分类</a></li>
                                    <li><a class="nav-a" data-href="product_list.html">商品信息</a></li>
                                    <li><a class="nav-a" data-href="supplier_list.html">供货商</a></li>
                                    <li><a class="nav-a" data-href="customer_list.html">客户</a></li>
                                </ul>
                            </li>
                            <li><a><i class="fa fa-bar-chart"></i> 统计 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    <li><a class="nav-a" data-href="product_statistics.html">商品统计</a></li>

                                </ul>
                            </li>
                            <!--<li pCode="systemManager" ><a><i class="fa fa-home"></i> 系统管理 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    <li pCode="roleManager" ><a class="nav-a" data-href="role_list.html">角色列表</a></li>
                                    <li pCode="permissionManager"><a class="nav-a" data-href="permission_tree.html">权限列表</a></li>
                                    <li><a class="nav-a" data-href="community_list.html">小区信息</a></li>
                                    <li><a class="nav-a" data-href="company_list.html">企业信息</a></li>

                                    <li><a class="nav-a" data-href="company_user_list.html">小区人员信息</a></li>
                                    <li><a class="nav-a" data-href="admin_list.html">人员信息</a></li>
                                    <li><a class="nav-a" data-href="troubleType_list.html">故障类型</a></li>
                                    <li><a class="nav-a" data-href="trouble_list.html">故障列表</a></li>
                                </ul>
                            </li>
                            <li><a><i class="fa fa-desktop"></i> 基础配置 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    <li><a class="nav-a" data-href="device_type_list.html">巡检设备类型</a></li>
                                    <li><a class="nav-a" data-href="goods_type_list.html">产品分类</a></li>
                                </ul>
                            </li>
                            <li><a><i class="fa fa-building"></i> 商业运营 <span class="fa fa-chevron-down"></span></a>
                                <ul class="nav child_menu">
                                    <li><a class="nav-a" data-href="advertising_order_list.html">广告合作</a></li>
                                    <li><a class="nav-a" data-href="form_advanced.html">Advanced Components</a></li>
                                    <li><a class="nav-a" data-href="form_validation.html">Form Validation</a></li>
                                    <li><a class="nav-a" data-href="form_wizards.html">Form Wizard</a></li>
                                    <li><a class="nav-a" data-href="form_upload.html">Form Upload</a></li>
                                    <li><a class="nav-a" data-href="form_buttons.html">Form Buttons</a></li>
                                </ul>
                            </li>-->

                        </ul>
                    </div>

                </div>
                <!-- /sidebar menu -->

                <!-- /menu footer buttons -->
                <div class="sidebar-footer hidden-small">
                    <a data-toggle="tooltip" data-placement="top" title="Settings">
                        <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
                    </a>
                    <a data-toggle="tooltip" data-placement="top" title="FullScreen">
                        <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
                    </a>
                    <a data-toggle="tooltip" data-placement="top" title="Lock">
                        <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
                    </a>
                    <a data-toggle="tooltip" data-placement="top" title="Logout" href="login.html">
                        <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
                    </a>
                </div>
                <!-- /menu footer buttons -->
            </div>
        </div>

        <!-- top navigation -->
        <div class="top_nav">
            <div class="nav_menu">
                <nav>
                    <div class="nav toggle">
                        <a id="menu_toggle"><i class="fa fa-bars"></i></a>
                    </div>

                    <ul class="nav navbar-nav navbar-right">
                        <li class="">
                            <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                                用户
                                <span class=" fa fa-angle-down"></span>
                            </a>
                            <ul class="dropdown-menu dropdown-usermenu pull-right">
                                <li><a href="javascript:void(0);"onclick="updatePassword()" > 修改密码</a></li>
                                <li><a onclick="logoOut()"><i class="fa fa-sign-out pull-right"></i>退出</a></li>
                            </ul>
                        </li>

                        <li role="presentation" class="dropdown">
                            <a href="javascript:;" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false">
                                <i class="fa fa-envelope-o"></i>
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
        </div>
        <!-- /top navigation -->

        <!-- page content -->
        <div class="right_col" role="main">

        </div>
        <!-- /page content -->

        <!-- footer content -->
        <footer>
            <div class="pull-right">
                Gentelella - Bootstrap Admin Template by <a href="https://colorlib.com">Colorlib</a>
            </div>
            <div class="clearfix"></div>
        </footer>
        <!-- /footer content -->
    </div>
</div>

<!-- jQuery -->
<script src="/resources/gentelella/vendors/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="/resources/gentelella/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- FastClick -->
<script src="/resources/gentelella/vendors/fastclick/lib/fastclick.js"></script>
<!-- NProgress -->
<script src="/resources/gentelella/vendors/nprogress/nprogress.js"></script>
<!-- Chart.js -->
<script src="/resources/gentelella/vendors/Chart.js/dist/Chart.min.js"></script>
<!-- gauge.js -->
<script src="/resources/gentelella/vendors/gauge.js/dist/gauge.min.js"></script>
<!-- bootstrap-progressbar -->
<script src="/resources/gentelella/vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script>
<!-- iCheck -->
<script src="/resources/gentelella/vendors/iCheck/icheck.min.js"></script>
<!-- Skycons -->
<script src="/resources/gentelella/vendors/skycons/skycons.js"></script>
<!-- Flot -->
<script src="/resources/gentelella/vendors/Flot/jquery.flot.js"></script>
<script src="/resources/gentelella/vendors/Flot/jquery.flot.pie.js"></script>
<script src="/resources/gentelella/vendors/Flot/jquery.flot.time.js"></script>
<script src="/resources/gentelella/vendors/Flot/jquery.flot.stack.js"></script>
<script src="/resources/gentelella/vendors/Flot/jquery.flot.resize.js"></script>
<!-- Flot plugins -->
<script src="/resources/gentelella/vendors/flot.orderbars/js/jquery.flot.orderBars.js"></script>
<script src="/resources/gentelella/vendors/flot-spline/js/jquery.flot.spline.min.js"></script>
<script src="/resources/gentelella/vendors/flot.curvedlines/curvedLines.js"></script>
<!-- DateJS -->
<script src="/resources/gentelella/vendors/DateJS/build/date.js"></script>
<!-- JQVMap -->
<script src="/resources/gentelella/vendors/jqvmap/dist/jquery.vmap.js"></script>
<script src="/resources/gentelella/vendors/jqvmap/dist/maps/jquery.vmap.world.js"></script>
<script src="/resources/gentelella/vendors/jqvmap/examples/js/jquery.vmap.sampledata.js"></script>
<!-- bootstrap-daterangepicker -->
<script src="/resources/gentelella/vendors/moment/min/moment.min.js"></script>
<script src="/resources/gentelella/vendors/bootstrap-daterangepicker/daterangepicker.js"></script>

<!-- Custom Theme Scripts -->
<script src="/resources/gentelella/js/custom.min.js"></script>
<script src="/resources/js/permission.js" ></script>
</body>
<script type="text/javascript">
    $(function () {
       /* permissionHandle();*/
        $(".menu_section  a.nav-a").click(function () {
            var href = $(this).attr("data-href");
            goto(href);
        });
    });
    function updatePassword() {
        goto("password_edit.html",{});
    }
    function logoOut() {
        $.ajax({
            url:'/admin/logout.do',
            type:'post',
            success:function(data){
                if(data.success){
                    window.location.href = "/html/admin/login.html?r="+new Date().getTime();
                }else{
                    window.location.href = "/html/admin/login.html?r="+new Date().getTime();
                }
            },
            error:function () {
                alert("系统错误！");
            }
        });
    }

</script>
</html>
